home *** CD-ROM | disk | FTP | other *** search
/ macdrivermuseum.net / www.macdrivermuseum.net.tar / www.macdrivermuseum.net / cards / orange386.hqx / Orange386 Folder / Orange386 Supplemental.image / MOUSE82.DOC < prev    next >
Text File  |  1992-06-10  |  21KB  |  524 lines

  1. INTRODUCTION
  2.  
  3. XMOUSE is an independently developed DOS driver that lets you use your mouse 
  4. with DOS programs designed to be used with a mouse.
  5.  
  6. A mouse driver is a small program that provides a standard interface between a 
  7. pointing device and an application program that uses the pointing device for 
  8. input.  Once the mouse driver program is run, it normally remains in the 
  9. computer's memory until the machine is shut off.
  10.  
  11. Microsoft created the first mouse driver program for DOS in 1983.  Today, the 
  12. Microsoft mouse driver continues to define the standard pointing device 
  13. interface for DOS application programs.  LCS/Telegraphics' XMOUSE driver 
  14. version 8.2 provides a functionally equivalent emulation of the industry 
  15. standard Microsoft mouse driver, MOUSE.COM and MOUSE.SYS version 8.2.  
  16.  
  17. The driver software has two main areas of functionality:
  18.  
  19.     1) Returning mouse coordinates and button status to the applications 
  20.        programs;
  21.  
  22.     2) Drawing and maintaining a tracking cursor that will follow the 
  23.        motion of the mouse.
  24.  
  25. Normally the operation of the driver will be transparent.  You only have to 
  26. ensure that the driver is installed before you run applications that use a 
  27. mouse.
  28.  
  29.  
  30. INSTALLING THE XMOUSE DRIVER
  31.  
  32. Before you install the software, you should make sure the mouse is hooked up to
  33. the computer.  If you should encounter a problem, always double check the 
  34. hardware connection to see if it is correct.
  35.  
  36. XMOUSE comes in two different forms: the file XMOUSE.COM is a "resident 
  37. program" mouse driver, and the file XMOUSE.SYS is an "installable MS-DOS device
  38. driver".  XMOUSE.COM is by far the easier mouse driver to install.  To install 
  39. XMOUSE.COM, just type at the DOS prompt:
  40.  
  41.     XMOUSE
  42.  
  43. You need to install XMOUSE before running an application which uses the mouse. 
  44. If you have a hard disk drive you will probably want to copy XMOUSE.COM onto 
  45. your hard disk.  Many people add the XMOUSE command to their AUTOEXEC.BAT file,
  46. so the driver is installed automatically whenever they start using their 
  47. computer.
  48.  
  49. The second way to install XMOUSE is by including XMOUSE.SYS as a device driver 
  50. in your CONFIG.SYS file.  Add the line below to your CONFIG.SYS file with a 
  51. text editor:
  52.  
  53.     DEVICE=XMOUSE.SYS
  54.  
  55. If the XMOUSE.SYS file is not stored in the root directory of your hard disk 
  56. drive, the correct path name should be in front of XMOUSE.SYS.  If you need to 
  57. change the mouse type, or if you want to remove XMOUSE, you have to make the 
  58. changes in your CONFIG.SYS file and then reboot the machine.
  59.  
  60. This method will have a result that is identical to running XMOUSE.COM each 
  61. time that you start up your computer, with the following exceptions: (1) you 
  62. can not remove XMOUSE.SYS from memory with the /off command line option; (2) 
  63. XMOUSE.SYS cannot read configuration commands from the MOUSE.INI configuration 
  64. file; (3) XMOUSE.SYS cannot make use of expanded memory, high memory, or upper 
  65. memory blocks.
  66.  
  67. Usually you do not need to use any command line options. However, if command-
  68. line options are needed, you must include them in you CONFIG.SYS file.
  69.  
  70. For example:
  71.  
  72.     DEVICE=XMOUSE.SYS /c2        to install on COM2
  73.  
  74. Once the mouse driver is installed into memory, you are ready to use your 
  75. application program.
  76.  
  77.  
  78. REMOVING THE XMOUSE DRIVER
  79.  
  80. XMOUSE will remain in memory, ready for use by any applications program until 
  81. you either reboot or turn off your computer.  Remember though that you will 
  82. have to re-install XMOUSE if you reboot an applications disk, unless the 
  83. XMOUSE.SYS file is already included in your CONFIG.SYS file as a device driver,
  84. or XMOUSE.COM is included in your AUTOEXEC.BAT file.
  85.  
  86. You can disable and remove the XMOUSE driver by typing the command:
  87.  
  88.     XMOUSE OFF
  89.  
  90. This command releases the hardware port to which the mouse is connected, and if 
  91. possible, the mouse driver will be removed from memory.  If other TSR programs 
  92. have been loaded after XMOUSE.COM, however, XMOUSE will not be released from 
  93. memory.  XMOUSE.SYS can not be removed from memory.
  94.  
  95.  
  96. CONFIGURING THE MOUSE DRIVER
  97.  
  98. Normally the XMOUSE driver automatically configures itself for the type of 
  99. mouse you have, you do not need to set any options.  However, there are a 
  100. number of options which you can select from the command line or by an entry in 
  101. a special file named MOUSE.INI.
  102.  
  103. The mouse driver options control four areas of the drivers bahavior: 
  104.  
  105.     1) the mouse hardware type and the port that the mouse is connected to;
  106.  
  107.     2) the cursor the driver displays on screen and what language it uses 
  108.        for messages;
  109.  
  110.     3) the location in memory where the mouse driver will be loaded;
  111.  
  112.     4) motion sensitivity settings.
  113.  
  114.  
  115. Command-Line Switches
  116.  
  117. These options can be issued after the driver is initially installed.  However, 
  118. memory location and mouse type can not be changed without removing the XMOUSE 
  119. driver.  Please refer to the respective sections for details.
  120.  
  121. The command-line options can be combined together. For example, you can use 
  122. both /h and /v together, and it will work in the same way as using /s. The 
  123. order of the command-line switches is not significant.
  124.  
  125. Either upper or lower-case letters can be used in command-line options. The 
  126. place-holder # following some option letters represents an optional number. 
  127.  
  128. Mouse Type Options
  129.  
  130. The XMOUSE driver is capable of operating with any of the standard kinds of 
  131. mice.  When it installs, the XMOUSE driver searches first for an InPort mouse, 
  132. then a bus mouse, followed by a PS/2 mouse, and then a Microsoft compatible 
  133. serial mouse.  Finally, if the driver does not find any of these mice, it will 
  134. default to installing a driver for a Mouse Systems serial mouse on the first 
  135. COM port it finds.
  136.  
  137. For a serial mouse, use the /c# command-line option to select which serial port 
  138. the mouse is connected to(# here refers to COM port 1,2,3 or 4).  For example:
  139.  
  140.     XMOUSE /c2        for com2
  141.  
  142. Command-line options can also be used to force XMOUSE to install for the type 
  143. of serial mouse you have.  For example,
  144.  
  145.     XMOUSE /mi        force Microsoft-type serial driver to install
  146.  
  147.     XMOUSE /mo        force Mouse Systems-type serial driver to 
  148.                 install
  149.  
  150. For an InPort mouse, there are two possible addresses.  For the primary address,
  151. use /i1; for secondary address, use /i2:
  152.  
  153.     XMOUSE /i2        for secondary InPort
  154.  
  155. There is a command /r# that allows you to change the interrupt rate of InPort 
  156. mice.  At high interrupt rates, the cursor movement on the screen is more 
  157. responsive; however, the application may slow down since the processing is 
  158. interrupted more often.  The default setting of 1 usually provides the optimal 
  159. balance between application speed and cursor responsiveness.
  160.  
  161. Value(#)                Interrupt Rate
  162. 0                    0 Hz
  163. 1                    30 Hz    
  164. 2                    50 Hz
  165. 3                    100 Hz    
  166. 4                    200 Hz 
  167.  
  168. For a bus mouse, you type:
  169.  
  170.     XMOUSE /b
  171.  
  172. For a PS/2 style mouse, you type:
  173.  
  174.     XMOUSE /z
  175.  
  176. XMOUSE will print a message confirming that it is installed.  For example, if 
  177. you are using a serial mouse with COM 1 as the COM port, after you type XMOUSE,
  178. the following message will appear:
  179.  
  180.     Installed on COM 1
  181.  
  182. If the mouse does not seem to be working, you should check whether the 
  183. connection is correct, and re-install the mouse driver.
  184.  
  185. Display Options
  186.  
  187. Cursor Display Delay
  188. The Cursor Display Delay switch(/n#) controls how often the cursor is redrawn 
  189. while the mouse moves across the screen.  Reducing the redraw rate may help you
  190. to follow cursor movement better on LCD displays.  The value can be in the 
  191. range of 0 - 10.  A larger number results in a less frequent cursor display.
  192.  
  193. Force Default Cursor
  194. The /m# switch is a useful command if you are using an application that draws 
  195. a small cursor on a laptop(or palmtop) computer with an LCD display.  It forces 
  196. the mouse driver to use a default text cursor, which is a character size block,
  197. and thus may make the cursor easier to follow.  The command /m0 turns it off, 
  198. while /m1 turns it on.
  199.  
  200. Foreign Languages
  201. If you want to change the language in which XMOUSE message appears, you can use 
  202. the commmand-line switch /l(letter).  Besides English, which is the default 
  203. language, other languages included are: German, Spanish, French, Italian, Dutch,
  204. Finnish, and Swedish(see table on page 10).
  205.  
  206. For example, for German messages, type at the DOS prompt:
  207.  
  208.     XMOUSE /ld
  209.  
  210. If you want to go back to English, just type:
  211.  
  212.     XMOUSE /l
  213.  
  214. Memory Options
  215.  
  216. Only XMOUSE.COM can be relocated.  XMOUSE.SYS can not be relocated.
  217.  
  218. There are many times when you want to maximize the amount of memory available 
  219. to your DOS applications programs.  One way to do it is to move the XMOUSE 
  220. driver to a location in memory outside of the area used by applications 
  221. programs.
  222.  
  223. New versions of MS DOS and DR DOS can relocate XMOUSE, as can a number of 
  224. utility programs such as QEMM, 386MAX, NETROOM and others.  If you are using 
  225. one of these programs to relocate the mouse driver, then you do not need to use 
  226. the mouse driver's relocation command-line options, although they still work 
  227. and are compatible.  
  228.  
  229. The mouse driver normally resides in low memory, which is where DOS applications
  230. programs are also loaded.  If you need more space for your applications, you 
  231. can relocate most of the XMOUSE driver to either expanded memory, high memory, 
  232. or upper memory block.  
  233.  
  234. Use the /u command to load the mouse driver into upper memory(between 640k - 1 
  235. MB), or the /e command switch to load it into expanded memory, or the /hi 
  236. command to load it into high memory(first 64k above 1 MB).
  237.  
  238. To relocate the driver to expanded memory, you must have either expanded memory 
  239. hardware, such as an Intel Above Board, or a software driver, such as EMM386 or
  240. QEMM in your machine.
  241.  
  242. To relocate the driver to high memory you must have an 80286, 80386 or 80486 
  243. family processor and more than 1 MB of memory.  You must also have the 
  244. HIMEM.SYS driver, or its equivalent, loaded before installing the mouse driver.
  245.  
  246. To relocate the driver to an upper memory block, your CONFIG.SYS file should 
  247. have the line:
  248.  
  249.     DEVICE=HIMEM.SYS
  250.  
  251. In addition, if you are running DOS 5.0, you should also have the line
  252.  
  253.     DOS=UMB
  254.  
  255. in your CONFIG.SYS file.  And in your AUTOEXEC.BAT file you can put:
  256.  
  257.     XMOUSE /hi     for high memory block
  258.  
  259. A small amount of low memory is still required even when the main body of the 
  260. driver is loaded into either high or expanded memory. 
  261.  
  262. You cannot relocate the mouse driver into another memory area without first 
  263. removing the mouse driver by using the XMOUSE OFF command.
  264.     
  265. Other Settings
  266.  
  267. Sensitivity 
  268. Three command options are provided to adjust the sensitivity of the cursor 
  269. tracking.  The default sensitivity setting provides the same tracking response 
  270. as the mouse hardware.  Each sensitivity option is a number from 5 to 100.  50 
  271. is the default setting.  
  272.  
  273. Larger numbers increase the sensitivity, making the cursor move more rapidly, 
  274. and smaller number decrease the sensitivity.  You can experiment to find a 
  275. comfortable setting for yourself.
  276.  
  277. The command options are:
  278.  
  279.     /s#        set both horizontal and vertical sensitivity
  280.  
  281.     /h#        set the horizontal sensitivity
  282.  
  283.     /v#        set the vertical sensitivity
  284.  
  285. For example:
  286.  
  287.     XMOUSE /s100
  288.  
  289. provides a very fast mouse while
  290.  
  291.     XMOUSE /s10
  292.  
  293. provides a very slow mouse for highly accurate cursor positioning.
  294.  
  295. Button Mapping
  296. The left button is the primary button by default.  However, you can redefine 
  297. primary and secondary buttons to suit your own preferences by using the command 
  298. /kp#s#.  In this command, p# is the primary button number, s# is the secondary 
  299. button value.
  300.  
  301. Button numbers for two-button mice:
  302.  
  303. Button                    Value
  304. Left Button                1
  305. Right Button                2
  306.  
  307. Button numbers for three-button mice:
  308.  
  309. Button                    Value
  310. Left Button                1
  311. Middle Button                2
  312. Right Button                3 
  313. For instance, if you want to choose the right button as your primary button, 
  314. and the middle button as your secondary button, you should type:
  315.  
  316.     XMOUSE /kp3s2
  317.  
  318. For a left handed user, it is convenient to have the primary button be the 
  319. right button on the mouse, and the secondary button be the left button.  The 
  320. command to do this is:
  321.  
  322.     XMOUSE /kp2s1        for two-button mice
  323.  
  324.     XMOUSE /kp3s1        for three-button mice
  325.  
  326. Clicklock
  327. The command /kc turns the third button on a three button mouse into a clicklock 
  328. toggle.  It works only with mice that have three buttons or more.  Clicklock is
  329. especially helpful when you need to hold down the primary button while moving 
  330. the mouse.
  331.  
  332. Pressing the third(and fourth button simutaneously in the case of a BallPoint 
  333. four-button device) will activate the lock on the primary button.  Pressing the 
  334. button again(or buttons, in the case of the BallPoint) releases the lock.  
  335.  
  336. When the primary button is locked down, the secondary button will be inactive 
  337. until the hold on the primary button is released.  The /k command disables the 
  338. clicklock functionality, the third button will then work as the middle button.
  339.  
  340. Rotation Angle
  341. This command specifies the rotation angle of the mouse cursor's movement 
  342. relative to its physical motion.  The rotation angle is an integer value 
  343. representing the number of degrees that the mouse's vertical axis is rotated 
  344. clockwise from the default axis.  The range is 0 - 359.  Typically this command 
  345. is used to adjust the output of a mouse or trackball when the user finds it 
  346. most comfortable to hold the device at an angle.
  347.  
  348.  
  349. MOUSE.INI File
  350.  
  351. The MOUSE.INI is an initialization file which contains many settings for the 
  352. mouse driver included in, but not limited to, the command-line switches.  The 
  353. file is specially useful if you want to save some features as default values. 
  354. It saves the trouble of typing the command-line options every time you install 
  355. the XMOUSE driver.
  356.  
  357. The settings in the MOUSE.INI are read by the mouse driver when it is loaded 
  358. into memory.  XMOUSE.SYS, however, cannot read the MOUSE.INI file.  Whenever 
  359. you change any setting in the MOUSE.INI file, it becomes the default setting. 
  360. You can always use command-line switches to override the settings in MOUSE.INI 
  361. if you want to make a temporary change.  The default settings for the MOUSE.INI 
  362. file for three button mice are as following:
  363.  
  364. [mouse]
  365. MouseType = ** automatic search for mouse **
  366. CompatibleWith = ** automatic determination **
  367. Language = English
  368. Memory = LowMem
  369. ActiveAccelerationProfile = 2
  370.  
  371. PrimaryButton = 1 ** left button **
  372. SecondaryButton = 3 ** right button of 3-button mouse **
  373. ClickLock = Off
  374. RotationAngle = 0
  375.  
  376. InterruptRate = 1
  377. IRQnumber = ** automatic determination **
  378. HorizontalSensitivity = 50
  379. VerticalSensitivity = 50
  380. CursorDisplayDelay = 0
  381. ForceDefaultCursor = Off
  382.  
  383. [DOSPointer]
  384. PointerSize = Small
  385. PointerColor = Normal
  386. Growth = False
  387. Threshold = 1
  388. Delay = 1
  389.  
  390. The MOUSE.INI file also stores acceleration profiles in the file:
  391.  
  392. [AccelerationProfile1]
  393. Label =        Slow
  394. Movement =       1     30    33    37    41    46
  395. Factor =           1.00  3.00  3.25  3.50  3.75  4.00
  396.  
  397. [AccelerationProfile2]
  398. Label =            Moderate
  399. Movement =       1     5     7     9     11    37    39    41    43
  400. Factor =         1.00  1.25  1.50  1.75  2.00  2.25  2.50  2.75  3.00
  401.  
  402. [AccelerationProfile3]
  403. Label =           Fast
  404. Movement =       1     9     12    15    18    21    24    27    30    33    
  405.            37    41    46
  406. Factor =         1.00  1.25  1.50  1.75  2.00  2.25  2.50  2.75  3.00  3.25  
  407.            3.50  3.75  4.00
  408.  
  409. [AccelerationProfile4]
  410. Label =        Unaccelerated
  411. Movement =        1
  412. Factor =        1.00
  413.  
  414. You can use any text editor or word processor that saves ASCII files to edit 
  415. the MOUSE.INI file and change the settings.  
  416.  
  417. The DOSPointer is a newly added section to the MOUSE.INI.  Its features are 
  418. most helpful for LCD displays where the cursor movement is not as easy to 
  419. follow.  You can change the pointer size from small, medium to large; and its 
  420. color can be set to normal, reverse or transparent.  You need to try it 
  421. yourself to find out the size and color you like most.
  422.  
  423. In text mode the pointer will increase and reduce in size if you put growth 
  424. value equal to true in the MOUSE.INI file.  In graphics mode, however, it will 
  425. be shown against a contrasting block.  If you do not desire this feature, you 
  426. only have to set growth value to false.  Please note, However, that the text 
  427. pointer can only grow to the size you have defined in the MOUSE.INI.  That is 
  428. to say, the pointer will grow to large if set to large. It will not grow at all 
  429. if the pointer size is set to small.
  430.  
  431. There is a threshold of mouse movement speed you need to reach in order to 
  432. enable the pointer to "grow".  It can be set from 1 to 100.  Moving the mouse 
  433. at a speed faster than the threshold value will result in a bigger/contrasted 
  434. cursor.  The higher the threshold value, the faster you will have to move the 
  435. mouse to see the pointer "grow".  If you set threshold value to 1, you will 
  436. frequently see the enlarged/contrasted pointer when moving the mouse.  If your 
  437. threshold value is 100, however, you will probably not see it unless you move 
  438. the mouse extremely fast.
  439.  
  440. Delay, which also ranges from 1 to 100, determines the duration the pointer 
  441. "growth" lasts.  The higher the delay value, the longer you see the cursor 
  442. "grow".  If the delay time is set to 1, you will see a temporarily enlarged
  443. or contrasted pointer before it falls back to the original state.  If you set 
  444. the delay value to 100, however, the enlarged cursor or contrasted block will 
  445. last for quite a while.  
  446.   
  447.  
  448. Here are some examples of how to change the settings in the MOUSE.INI.  If you 
  449. want to: (1) install an InPort mouse with interrupt rate of 60 Hz, (2) always 
  450. load the XMOUSE driver into expanded memory, (3) set the vertical and 
  451. horizontal sensitivities to 95 and, (4) make installation messages appear in 
  452. French; the settings in the MOUSE.INI should be:
  453.  
  454.     MouseType = InPort1
  455.     InterruptRate = 2
  456.     Memory = EMM
  457.     VerticalSensitivity = 95
  458.     HorizontalSensitivity = 95
  459.     Language = French
  460.  
  461. If you want a medium, reverse cursor with the growth pointer feature and set 
  462. both its delay and threshold at 2, you modify the settings in the DOSPointer 
  463. section to:
  464.  
  465.     PointerSize = Medium
  466.     PointerColor = Reverse
  467.     Growth = True
  468.     Threshold = 2
  469.     Delay = 2
  470.  
  471. MOUSE DRIVER BALLISTICS
  472.  
  473. XMOUSE supports fully Microsoft compatible ballistic acceleration.  This mouse 
  474. driver comes with four built-in ballistic gain profiles: 
  475.  
  476. Speed                Value
  477. Slow:                ballistic profile 1
  478. Moderate:            ballistic profile 2
  479. Fast:                ballistic profile 3
  480. Unaccelerated:            ballistic profile 4
  481.  
  482. To select a ballistic profile, you can use /p# command-line options.  For 
  483. example, you type:
  484.  
  485.     XMOUSE /p1        select ballistic profile 1
  486.  
  487. Each of the four movement profiles defines how much cursor motion results from 
  488. a given amount of mouse motion.  You can also use the SETSPEED program to 
  489. choose profiles, load a new set of profiles, or find out which profile is in 
  490. effect within your mouse driver.  Of course, the mouse driver must be loaded 
  491. before you use SETSPEED.EXE.
  492.  
  493. The command-line options for SETSPEED are:
  494.  
  495.     SETSPEED /p# /ffilename
  496.  
  497. where # is 1, 2, 3, or 4. Filename is the name of a text file containing 
  498. movement profiles to be used by the mouse driver.
  499.  
  500.     SETSPEED /?
  501.  
  502. reports the currently active profile.  For example,
  503.  
  504.     SETSPEED /p3 /fPROFILES.TXT
  505.  
  506. selects movement profile 3 from the file "PROFILES.TXT"
  507.  
  508. The motion profile data files are text files that define the relationship 
  509. between mouse motion and screen cursor motion.  For each movement profile 
  510. within the file there is a list of mouse motions and corresponding scaling 
  511. factors.  A scaling factor of 1.0 means that one mouse motion increment 
  512. corresponds to one screen motion increment.  Larger scaling factors result in 
  513. "faster" mouse motion.  Use the file DEFAULT.PRO as a guide to the proper 
  514. syntax of the motion profile data.
  515.  
  516. Mouse movement values can range from 1 to 127, while scaling factors can range 
  517. from 0 to 16.  A scaling factor value of 0.5 effectively halves the resolution 
  518. of the mouse(eg. from 400 to 200 dpi).
  519.  
  520. You can specify up to 32 mouse movement entries, and the steps between entries 
  521. in the list do not have to be equal.  For each movement entry you must specify 
  522. a factor entry.  The profile labels are truncated to 16 characters when the 
  523. profile is loaded into the mouse driver.
  524.